package com.cy.myblog.service;

import com.cy.myblog.model.Tarticle;
import com.cy.myblog.pageModel.Article;
import com.cy.myblog.pageModel.DataGrid;

import java.util.List;

public interface ArticleServiceI {

	public Tarticle save(Tarticle article);

	public Tarticle getById(String id);

	public List<Tarticle> findAll();

	public void update(Tarticle article);

	public DataGrid findByPage(Article article);

	public void delete(Article article);

	public void toTop(Article article);
}
